package com.hnevc.foodserver.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "UpdatePWDVo", description = "修改密码视图层类")
public class UpdatePWDVo {
    @ApiModelProperty(value = "用户名")
    String username;
    @ApiModelProperty(value = "旧密码")
    String password;
    @ApiModelProperty(value = "新密码")
    String newPassword;

    public UpdatePWDVo() {
    }

    @Override
    public String toString() {
        return "UpdatePWDVo{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", newPassword='" + newPassword + '\'' +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
